package org.lanqiao.tjut.seriver.impl;

import javax.annotation.Resource;

import org.lanqiao.tjut.bean.AdminBean;
import org.lanqiao.tjut.dao.AdminDao;
import org.lanqiao.tjut.seriver.AdminService;
import org.springframework.stereotype.Service;

@Service("adminService")
public class AdminInfoService implements AdminService {

	@Resource
	private AdminDao adminDao;

	@Override
	public AdminBean selectByAccount(String adminAccount) {

		return adminDao.selectByAccount(adminAccount);
	}

	// --------------未开发------------------
	@Override
	public int deleteByPrimaryKey(Integer adminIndex) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insert(AdminBean record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insertSelective(AdminBean record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByPrimaryKeySelective(AdminBean record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByPrimaryKey(AdminBean record) {
		// TODO Auto-generated method stub
		return 0;
	}

}
